package com.sumfun.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sumfun.blog.model.domain.Article;
import com.sumfun.blog.model.request.ArticleQueryRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 超前探信息Mapper接口
 * 
 * @author linespace
 * @date 2024-01-16
 */
@Mapper
@Repository
public interface ArticleMapper extends BaseMapper<Article>
{
    IPage<Article> selectArticlesMy(
            @Param("page") IPage<Article> page,
            @Param("queryRequest") ArticleQueryRequest articleQueryRequest
    );
}
